/*
package com.anyou.mall.goo.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.anyou.common.annotation.Log;
import com.anyou.common.core.controller.BaseController;
import com.anyou.common.core.domain.ApiResult;
import com.anyou.common.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.anyou.mall.goo.domain.GoodsCouponHistory;
import com.anyou.mall.goo.service.IGoodsCouponHistoryService;
import com.anyou.common.utils.poi.ExcelUtil;
import com.anyou.common.core.page.TableDataInfo;

*/
/**
 * 优惠券历史记录Controller
 *
 * @author gaochaohao
 * @date 2022-04-11
 *//*

@Api(tags = "优惠券历史记录")
@RestController
@RequestMapping("/goo/goodsCouponHistory")
public class GoodsCouponHistoryController extends BaseController
{
    @Autowired
    private IGoodsCouponHistoryService goodsCouponHistoryService;

    */
/**
     * 查询优惠券历史记录列表
     *//*

    @ApiOperation("查询优惠券历史记录列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:list')")
    @GetMapping("/list")
    public TableDataInfo<List<GoodsCouponHistory>> list(GoodsCouponHistory goodsCouponHistory)
    {
        startPage();
        List<GoodsCouponHistory> list = goodsCouponHistoryService.selectGoodsCouponHistoryList(goodsCouponHistory);
        return getDataTable(list);
    }

    */
/**
     * 导出优惠券历史记录列表
     *//*

    @ApiOperation("导出优惠券历史记录列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:export')")
    @Log(title = "优惠券历史记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, GoodsCouponHistory goodsCouponHistory)
    {
        List<GoodsCouponHistory> list = goodsCouponHistoryService.selectGoodsCouponHistoryList(goodsCouponHistory);
        ExcelUtil<GoodsCouponHistory> util = new ExcelUtil<GoodsCouponHistory>(GoodsCouponHistory.class);
        util.exportExcel(response, list, "优惠券历史记录数据");
    }

    */
/**
     * 获取优惠券历史记录详细信息
     *//*

    @ApiOperation("获取优惠券历史记录详细信息")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:query')")
    @GetMapping(value = "/{couponHistoryId}")
    public ApiResult<GoodsCouponHistory> getInfo(@PathVariable("couponHistoryId") Long couponHistoryId)
    {
        return ApiResult.success(goodsCouponHistoryService.selectGoodsCouponHistoryByCouponHistoryId(couponHistoryId));
    }

    */
/**
     * 新增优惠券历史记录
     *//*

    @ApiOperation("新增优惠券历史记录")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:add')")
    @Log(title = "优惠券历史记录", businessType = BusinessType.INSERT)
    @PostMapping
    public ApiResult add(@RequestBody GoodsCouponHistory goodsCouponHistory)
    {
        return ApiResult.success(goodsCouponHistoryService.insertGoodsCouponHistory(goodsCouponHistory));
    }

    */
/**
     * 修改优惠券历史记录
     *//*

    @ApiOperation("修改优惠券历史记录")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:edit')")
    @Log(title = "优惠券历史记录", businessType = BusinessType.UPDATE)
    @PutMapping
    public ApiResult edit(@RequestBody GoodsCouponHistory goodsCouponHistory)
    {
        return ApiResult.success(goodsCouponHistoryService.updateGoodsCouponHistory(goodsCouponHistory));
    }

    */
/**
     * 删除优惠券历史记录
     *//*

    @ApiOperation("删除优惠券历史记录")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponHistory:remove')")
    @Log(title = "优惠券历史记录", businessType = BusinessType.DELETE)
    @DeleteMapping("/{couponHistoryIds}")
    public ApiResult remove(@PathVariable Long[] couponHistoryIds)
    {
        return ApiResult.success(goodsCouponHistoryService.deleteGoodsCouponHistoryByCouponHistoryIds(couponHistoryIds));
    }
}
*/
